package com.briup.run.service;

import com.briup.run.bean.Memberinfo;

import java.util.List;

/**
 * @Auther: vanse(lc))
 * @Date: 2022/10/6-10-06-14:43
 * @Description：com.briup.run.service
 */
public interface MemberInfoService {
    void regsiter(Memberinfo memberinfo);
    Memberinfo login(String username,String password);

    long countOnLine(); // 在线人数

    void logout(Long id);
    void updateMemberInfo(Memberinfo memberinfo);

    List<Memberinfo> beforeNumMemberInfo(int i);

    void foundPass(String userName, String passwdQuestion, String passwdAnswer);
}
